package com.edu.html.pojo;

import java.util.Date;

import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;

import com.edu.common.model.Page;

@SuppressWarnings("serial")
@Alias("book")
public class Books extends Page{
	
	private Integer id;
	private String bookAuthor;
	private Double bookPrice; 
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date bookCreateDate;
	private String bookPubHouse;
	private Integer bookNo;
	private String bookType;
	private String bookName;
	private String bookProfile;
	
	public final String getBookAuthor() {
		return bookAuthor;
	}
	public final void setBookAuthor(String bookAuthor) {
		this.bookAuthor = bookAuthor;
	}
	public final Double getBookPrice() {
		return bookPrice;
	}
	public final void setBookPrice(Double bookPrice) {
		this.bookPrice = bookPrice;
	}
	public final Integer getId() {
		return id;
	}
	public final void setId(Integer id) {
		this.id = id;
	}
	public final Date getBookCreateDate() {
		return bookCreateDate;
	}
	public final void setBookCreateDate(Date bookCreateDate) {
		this.bookCreateDate = bookCreateDate;
	}
	public final String getBookPubHouse() {
		return bookPubHouse;
	}
	public final void setBookPubHouse(String bookPubHouse) {
		this.bookPubHouse = bookPubHouse;
	}
	public final Integer getBookNo() {
		return bookNo;
	}
	public final void setBookNo(Integer bookNo) {
		this.bookNo = bookNo;
	}
	public final String getBookType() {
		return bookType;
	}
	public final void setBookType(String bookType) {
		this.bookType = bookType;
	}
	public final String getBookName() {
		return bookName;
	}
	public final void setBookName(String bookName) {
		this.bookName = bookName;
	}
	public final String getBookProfile() {
		return bookProfile;
	}
	public final void setBookProfile(String bookProfile) {
		this.bookProfile = bookProfile;
	}
	
	@Override
	public String toString() {
		return "Books [bookAuthor=" + bookAuthor + ", bookPrice=" + bookPrice + ", id=" + id + ", bookCreateDate="
				+ bookCreateDate + ", bookPubHouse=" + bookPubHouse + ", bookNo=" + bookNo + ", bookType=" + bookType
				+ ", bookName=" + bookName + ", bookProfile=" + bookProfile + "]";
	}
	
	
}
